import React, { Component } from "react";
import Main from "../Containers/Main";
// import server from "../Api/BaseUrl";
// import Editor from "../Components/Editor";
class Index extends Component {
  render() {
    const main = {
      height: "100%",
    };
    return (
      <div style={main}>
        <Main />
      </div>
    );
  }
}
export default Index;


// function fn(arr, tar) {
//   for (let index = 0; index < arr.length; index++) {
//     let sum1 = arr[index];
//     let sum2 = arr[index + 1];
//     let indArr = [index, index + 1];
//     if (sum1 + sum2 == tar) {
//       return indArr;
//     }
//   }
// }
// fn(arr, 3);

